package com.sgu6.middleware.util;

import java.util.UUID;

public class UUIDGenerator {

    public static String generate() {
        String uuid = UUID.randomUUID().toString();
        String uid = uuid.replace("-", "");
        String code = uid.substring(21);
        return code;
    }
}
